#include "TraitException.h"

/*!
  \class TraitException
   \brief Encapsulate exceptional conditions in Trait processing.
   \details Instances of this class are constructed on the stack
   and thrown when exceptional conditions occur during Trait string
   processing.
 */

/*!
   \brief Construct a new TraitException object.
   \details The new XmlException object is initialized with the given
   \a message.
   \param message to be set on the XmlException.
 */
TraitException::TraitException(const QString &message)
    : mMessage(message)
{
}

/*!
   \brief Destroy the object, returning any resources.
 */
TraitException::~TraitException()
{
}

/*!
   \fn QString TraitException::message() const
   \brief Return the contents of the string message, usually a
   description of what caused the exceptional condition.
   \return QString of the message.
 */
